package com.flyoil.petromp.entity.entity_course_message;

import com.flyoil.petromp.base.BaseEntity;
import com.flyoil.petromp.entity.entity_order.OrderFilesEntity;
import com.flyoil.petromp.entity.entity_order.OrderSignatureEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/11/27 0027.
 * 物资采购计划单详情的实体类
 */

public class GoodsExamineMessageEntity extends BaseEntity {


    /**
     * data : {"id":0,"orderSn":"类型: java.lang.String 描述: 订单编号","demandName":"类型: java.lang.String 描述: 需求名称","deliveryDate":"类型: java.util.Date 描述: 送货日期","supplierName":"类型: java.lang.String 描述: 供应商","supplierPhone":"类型: java.lang.String 描述: 供应商联系电话","address":"类型: java.lang.String 描述: 项目地点","createdByName":"类型: java.lang.String 描述: 制表人","transformStatusLabel":"类型: java.lang.String 描述: 单据状态","petAcceptanceItems":[{"id":0,"materialName":"类型: java.lang.String 描述: 物资名称","model":"类型: java.lang.String 描述: 规格/型号"}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 0
         * orderSn : 类型: java.lang.String 描述: 订单编号
         * demandName : 类型: java.lang.String 描述: 需求名称
         * deliveryDate : 类型: java.util.Date 描述: 送货日期
         * supplierName : 类型: java.lang.String 描述: 供应商
         * supplierPhone : 类型: java.lang.String 描述: 供应商联系电话
         * address : 类型: java.lang.String 描述: 项目地点
         * createdByName : 类型: java.lang.String 描述: 制表人
         * transformStatusLabel : 类型: java.lang.String 描述: 单据状态
         * petAcceptanceItems : [{"id":0,"materialName":"类型: java.lang.String 描述: 物资名称","model":"类型: java.lang.String 描述: 规格/型号"}]
         */

        private int id;
        private String orderSn;
        private String demandName;
        private String deliveryDate;
        private String supplierName;
        private String supplierPhone;
        private String address;
        private int createdBy;//物资验收单
        private String createdByName;
        private List<PetAcceptanceItemsBean> petAcceptanceItems;
        private List<OrderSignatureEntity> confirmLogs;
        private List<OrderFilesEntity> files;
        private String transformStatusLabel;//单据流转状态：流转中、已完成、待撤销、已冻结
        private String confirmStatusLabel;//单据审核状态：待审批,已审批,已驳回待撤销,已撤销

        public String getConfirmStatusLabel() {
            return confirmStatusLabel;
        }

        public void setConfirmStatusLabel(String confirmStatusLabel) {
            this.confirmStatusLabel = confirmStatusLabel;
        }

        public int getCreatedBy() {
            return createdBy;
        }

        public void setCreatedBy(int createdBy) {
            this.createdBy = createdBy;
        }

        public List<OrderSignatureEntity> getConfirmLogs() {
            return confirmLogs;
        }

        public void setConfirmLogs(List<OrderSignatureEntity> confirmLogs) {
            this.confirmLogs = confirmLogs;
        }

        public List<OrderFilesEntity> getFiles() {
            return files;
        }

        public void setFiles(List<OrderFilesEntity> files) {
            this.files = files;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getOrderSn() {
            return orderSn;
        }

        public void setOrderSn(String orderSn) {
            this.orderSn = orderSn;
        }

        public String getDemandName() {
            return demandName;
        }

        public void setDemandName(String demandName) {
            this.demandName = demandName;
        }

        public String getDeliveryDate() {
            return deliveryDate;
        }

        public void setDeliveryDate(String deliveryDate) {
            this.deliveryDate = deliveryDate;
        }

        public String getSupplierName() {
            return supplierName;
        }

        public void setSupplierName(String supplierName) {
            this.supplierName = supplierName;
        }

        public String getSupplierPhone() {
            return supplierPhone;
        }

        public void setSupplierPhone(String supplierPhone) {
            this.supplierPhone = supplierPhone;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getCreatedByName() {
            return createdByName;
        }

        public void setCreatedByName(String createdByName) {
            this.createdByName = createdByName;
        }

        public String getTransformStatusLabel() {
            return transformStatusLabel;
        }

        public void setTransformStatusLabel(String transformStatusLabel) {
            this.transformStatusLabel = transformStatusLabel;
        }

        public List<PetAcceptanceItemsBean> getPetAcceptanceItems() {
            return petAcceptanceItems;
        }

        public void setPetAcceptanceItems(List<PetAcceptanceItemsBean> petAcceptanceItems) {
            this.petAcceptanceItems = petAcceptanceItems;
        }

        public static class PetAcceptanceItemsBean {
            /**
             * id : 0
             * materialName : 类型: java.lang.String 描述: 物资名称
             * model : 类型: java.lang.String 描述: 规格/型号
             */

            private int id;
            private String materialName;
            private String model;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getMaterialName() {
                return materialName;
            }

            public void setMaterialName(String materialName) {
                this.materialName = materialName;
            }

            public String getModel() {
                return model;
            }

            public void setModel(String model) {
                this.model = model;
            }
        }
    }
}
